﻿package plugin.xunbao
{
    import com.core.*;

    public class XunbaoControl extends Control
    {

        public function XunbaoControl(param1:Object)
        {
            super(param1);
            return;
        }// end function

        override public function update(param1:Obproxy, param2:ProxyChange) : void
        {
            if (param1.getName() == "xunbao")
            {
                if (param2.property == "updatecost")
                {
                    this.target.updata();
                }
                else if (param2.property == "OpenEgg")
                {
                    this.target.OpenEggback(param2.newvalue);
                }
                else if (param2.property == "xbcangku")
                {
                    this.target.xbcangku(param2.newvalue);
                }
                else if (param2.property == "GetEggsLog")
                {
                    this.target.GetEggsLog(param2.newvalue);
                }
                else if (param2.property == "updatemoney")
                {
                    this.target.updatemoney();
                }
                else if (param2.property == "xunbaoid")
                {
                }
                else if (param2.property == "vipxunbaoid")
                {
                }
            }
            return;
        }// end function

    }
}
